package cn.q3c.download.commons;

import org.apache.commons.lang3.builder.ReflectionToStringBuilder;

public class ConfigProject {

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}



	public String getDescription() {
		return description;
	}



	public void setDescription(String description) {
		this.description = description;
	}



	public int getMaxfiles() {
		return maxfiles;
	}



	public void setMaxfiles(int maxfiles) {
		this.maxfiles = maxfiles;
	}



	public String getSpiderclass() {
		return spiderclass;
	}



	public void setSpiderclass(String spiderclass) {
		this.spiderclass = spiderclass;
	}



	public int getTimelimit() {
		return timelimit;
	}



	public void setTimelimit(int timelimit) {
		this.timelimit = timelimit;
	}



	public int getMaxthread() {
		return maxthread;
	}



	public void setMaxthread(int maxthread) {
		this.maxthread = maxthread;
	}



	private String name;
	private String description;
	private int maxfiles;
	private String spiderclass;
	private int timelimit;
	private int maxthread;
	public int getSaveLimitHour() {
		return saveLimitHour;
	}

	public void setSaveLimitHour(int saveLimitHour) {
		this.saveLimitHour = saveLimitHour;
	}



	private int saveLimitHour;
	private String urls;
	
	public String getUrls() {
		return urls;
	}

	public void setUrls(String urls) {
		this.urls = urls;
	}

	public String toString() {
		return ReflectionToStringBuilder.toString(this);
	}
	
	private int frompageno;//起始页号
	public int getFrompageno() {
		return frompageno;
	}

	public void setFrompageno(int frompageno) {
		this.frompageno = frompageno;
	}

	public int getMaxpageno() {
		return maxpageno;
	}

	public void setMaxpageno(int maxpageno) {
		this.maxpageno = maxpageno;
	}



	private int maxpageno;//最大页号
	
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	//xml
	private String type;
	
	
	
	public boolean isActive() {
		return active;
	}

	public void setActive(boolean active) {
		this.active = active;
	}



	private boolean active;
	
	
	
}
